import React from 'react';
import './form.scss';

export interface FormProps {
	className?: string;
	children?: React.ReactNode;
	action?: string;
}

const InternalForm = (props: FormProps) => {
	const { className = '', children, action = '' } = props;

	return (
		<form
			className={`hs-ui-form ${className}`}
			action={action}>
			{children}
		</form>
	);
};

export default InternalForm;
